package STUDENT.TranNamAnh.OOPs.baitap2;


public class Models {
	
	public double cong(Object obj){
		return obj.getA() + obj.getB();		
	}
	
	public double tru(Object obj){
		return obj.getA() - obj.getB();		
	}
	
	public double nhan(Object obj){
		return obj.getA() * obj.getB();		
	}
	
	public double chia(Object obj){
		return obj.getA() / obj.getB();		
	}
	
	
	
}

